home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmHilfe
- Appearance = 0 '2D
- BackColor = &H80000005&
- BorderStyle = 0 'Kein
- Caption = "XRay-Viewer Hilfe"
- ClientHeight = 3195
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 4680
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3195
- ScaleWidth = 4680
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows-Standard
- Begin VB.CheckBox ChkZeigen
- Appearance = 0 '2D
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 195
- Left = 360
- TabIndex = 1
- Top = 2280
- Width = 255
- End
- Begin VB.PictureBox PicHilfe
- Appearance = 0 '2D
- AutoSize = -1 'True
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 2415
- Left = 240
- ScaleHeight = 2385
- ScaleWidth = 3825
- TabIndex = 0
- Top = 120
- Width = 3855
- Begin VB.Label lblZeigen
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Diese Hilfe bei jedem Start zeigen"
- Height = 195
- Left = 480
- TabIndex = 2
- Top = 2040
- Width = 2370
- End
- End
- Attribute VB_Name = "frmHilfe"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Const CSHelpSplashFile = "hlpsplsh.bin"
- Public Function getHelpSplash() As Integer
- Dim bShowOnStart As Integer
- bShowOnStart = 1
- On Error GoTo errGetHelpSplash
- Open CSHelpSplashFile For Input As #1 ' Open file for input.
- Input #1, bShowOnStart
- Close #1 ' Close file.
- errGetHelpSplash:
- getHelpSplash = bShowOnStart
- End Function
- Public Sub setHelpSplash()
- Open CSHelpSplashFile For Output As #1 ' Open file for input.
- Write #1, ChkZeigen.Value
- Close #1 ' Close file.
- End Sub
- Private Sub ChkZeigen_Click()
- setHelpSplash
- End Sub
- Private Sub Form_Load()
- Dim b As Boolean
- Set PicHilfe = LoadPicture(FileExist(glaspath & "\xray\" & "hilfe.gif"))
- PicHilfe.top = 0
- PicHilfe.left = 0
- ChkZeigen.left = 0.5 * ChkZeigen.Width
- ChkZeigen.top = PicHilfe.Height - 1.5 * ChkZeigen.Height
- lblZeigen.top = ChkZeigen.top
- lblZeigen.left = ChkZeigen.left + ChkZeigen.Width
- Me.Width = PicHilfe.Width
- Me.Height = PicHilfe.Height
- Me.top = xrayfeature.top + (xrayfeature.Height - Me.Height) / 2
- Me.left = xrayfeature.left + (xrayfeature.Width - Me.Width) / 2
- ChkZeigen.Value = getHelpSplash
- End Sub
- Private Sub lblZeigen_Click()
- ChkZeigen.Value = Abs(ChkZeigen.Value - 1)
- ChkZeigen_Click
- End Sub
- Private Sub lblZeigen_DblClick()
- lblZeigen_Click
- End Sub
- Private Sub PicHilfe_Click()
- Me.Hide
- End Sub
-